package com.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class CommentVO {
    @ApiModelProperty(value = "评论id", required = true, example = "1")
    private Integer id;
    @ApiModelProperty(value = "评论内容", required = true, example = "今天天气不错")
    private String content;
    @ApiModelProperty(value = "创建时间", required = true, example = "2020年01月01号 12点12分12秒")
    @JsonFormat(pattern = "yyyy年MM月dd号 HH点mm分ss秒", timezone = "GMT+8")
    private Date created;
    @ApiModelProperty(value = "用户昵称", required = true, example = "YuWu")
    private String nickname;
}
